<!DOCTYPE html>
<html>
<head>
    <title>Simple app</title>

    <script type="text/javascript" src="lib/angular.js"></script>
    <script type="text/javascript">
        angular.module("myApp", []).run(function($rootScope) {
            console.info($rootScope)
            $rootScope.name  = "ifdfdf";
        })
    </script>
</head>
<body>
<div ng-app="myApp">
    <h1>Hello {{ name }}</h1>
</div>
</body>
</html>